﻿namespace AnyOffice.Model
{
    using System;

    public class HrmsData
    {
        protected object _attachmentId;
        protected object _birthday;
        protected object _bodyExamim;
        protected object _cardNo;
        protected object _certificate;
        protected object _contract;
        protected object _contractDate1;
        protected object _contractDate2;
        protected object _contractType;
        protected object _department;
        protected int _deptId;
        protected object _edu;
        protected object _education;
        protected object _email;
        protected object _homeAddr;
        protected object _homeTel;
        protected int _hrmsId = -1;
        protected object _hukouPlace;
        protected object _insure;
        protected object _joinDate;
        protected object _leaveType;
        protected object _marry;
        protected object _memo;
        protected object _nation;
        protected object _nativePlace;
        protected object _number;
        protected object _photo;
        protected object _politics;
        protected object _post;
        protected object _postChange;
        protected object _resume;
        protected object _reward;
        protected object _school;
        protected bool _sex = true;
        protected object _sociaty;
        protected object _speciallity;
        protected object _surety;
        protected object _techPost;
        protected object _train;
        protected object _userId;
        protected string _userName = string.Empty;
        protected object _workDate;

        public string AttachmentId
        {
            get
            {
                return (string) this._attachmentId;
            }
            set
            {
                this._attachmentId = value;
            }
        }

        public bool AttachmentIdIsNull
        {
            get
            {
                return (this._attachmentId == null);
            }
            set
            {
                if (value)
                {
                    this._attachmentId = null;
                }
            }
        }

        public DateTime Birthday
        {
            get
            {
                return (DateTime) this._birthday;
            }
            set
            {
                this._birthday = value;
            }
        }

        public bool BirthdayIsNull
        {
            get
            {
                return (this._birthday == null);
            }
            set
            {
                if (value)
                {
                    this._birthday = null;
                }
            }
        }

        public string BodyExamim
        {
            get
            {
                return (string) this._bodyExamim;
            }
            set
            {
                this._bodyExamim = value;
            }
        }

        public bool BodyExamimIsNull
        {
            get
            {
                return (this._bodyExamim == null);
            }
            set
            {
                if (value)
                {
                    this._bodyExamim = null;
                }
            }
        }

        public string CardNo
        {
            get
            {
                return (string) this._cardNo;
            }
            set
            {
                this._cardNo = value;
            }
        }

        public bool CardNoIsNull
        {
            get
            {
                return (this._cardNo == null);
            }
            set
            {
                if (value)
                {
                    this._cardNo = null;
                }
            }
        }

        public string Certificate
        {
            get
            {
                return (string) this._certificate;
            }
            set
            {
                this._certificate = value;
            }
        }

        public bool CertificateIsNull
        {
            get
            {
                return (this._certificate == null);
            }
            set
            {
                if (value)
                {
                    this._certificate = null;
                }
            }
        }

        public string Contract
        {
            get
            {
                return (string) this._contract;
            }
            set
            {
                this._contract = value;
            }
        }

        public DateTime ContractDate1
        {
            get
            {
                return (DateTime) this._contractDate1;
            }
            set
            {
                this._contractDate1 = value;
            }
        }

        public bool ContractDate1IsNull
        {
            get
            {
                return (this._contractDate1 == null);
            }
            set
            {
                if (value)
                {
                    this._contractDate1 = null;
                }
            }
        }

        public DateTime ContractDate2
        {
            get
            {
                return (DateTime) this._contractDate2;
            }
            set
            {
                this._contractDate2 = value;
            }
        }

        public bool ContractDate2IsNull
        {
            get
            {
                return (this._contractDate2 == null);
            }
            set
            {
                if (value)
                {
                    this._contractDate2 = null;
                }
            }
        }

        public bool ContractIsNull
        {
            get
            {
                return (this._contract == null);
            }
            set
            {
                if (value)
                {
                    this._contract = null;
                }
            }
        }

        public string ContractType
        {
            get
            {
                return (string) this._contractType;
            }
            set
            {
                this._contractType = value;
            }
        }

        public bool ContractTypeIsNull
        {
            get
            {
                return (this._contractType == null);
            }
            set
            {
                if (value)
                {
                    this._contractType = null;
                }
            }
        }

        public string Department
        {
            get
            {
                return (string) this._department;
            }
            set
            {
                this._department = value;
            }
        }

        public bool DepartmentIsNull
        {
            get
            {
                return (this._department == null);
            }
            set
            {
                if (value)
                {
                    this._department = null;
                }
            }
        }

        public int DeptId
        {
            get
            {
                return this._deptId;
            }
            set
            {
                this._deptId = value;
            }
        }

        public string Edu
        {
            get
            {
                return (string) this._edu;
            }
            set
            {
                this._edu = value;
            }
        }

        public string Education
        {
            get
            {
                return (string) this._education;
            }
            set
            {
                this._education = value;
            }
        }

        public bool EducationIsNull
        {
            get
            {
                return (this._education == null);
            }
            set
            {
                if (value)
                {
                    this._education = null;
                }
            }
        }

        public bool EduIsNull
        {
            get
            {
                return (this._edu == null);
            }
            set
            {
                if (value)
                {
                    this._edu = null;
                }
            }
        }

        public string Email
        {
            get
            {
                return (string) this._email;
            }
            set
            {
                this._email = value;
            }
        }

        public bool EmailIsNull
        {
            get
            {
                return (this._email == null);
            }
            set
            {
                if (value)
                {
                    this._email = null;
                }
            }
        }

        public string HomeAddr
        {
            get
            {
                return (string) this._homeAddr;
            }
            set
            {
                this._homeAddr = value;
            }
        }

        public bool HomeAddrIsNull
        {
            get
            {
                return (this._homeAddr == null);
            }
            set
            {
                if (value)
                {
                    this._homeAddr = null;
                }
            }
        }

        public string HomeTel
        {
            get
            {
                return (string) this._homeTel;
            }
            set
            {
                this._homeTel = value;
            }
        }

        public bool HomeTelIsNull
        {
            get
            {
                return (this._homeTel == null);
            }
            set
            {
                if (value)
                {
                    this._homeTel = null;
                }
            }
        }

        public int HrmsId
        {
            get
            {
                return this._hrmsId;
            }
            set
            {
                this._hrmsId = value;
            }
        }

        public string HukouPlace
        {
            get
            {
                return (string) this._hukouPlace;
            }
            set
            {
                this._hukouPlace = value;
            }
        }

        public bool HukouPlaceIsNull
        {
            get
            {
                return (this._hukouPlace == null);
            }
            set
            {
                if (value)
                {
                    this._hukouPlace = null;
                }
            }
        }

        public string Insure
        {
            get
            {
                return (string) this._insure;
            }
            set
            {
                this._insure = value;
            }
        }

        public bool InsureIsNull
        {
            get
            {
                return (this._insure == null);
            }
            set
            {
                if (value)
                {
                    this._insure = null;
                }
            }
        }

        public DateTime JoinDate
        {
            get
            {
                return (DateTime) this._joinDate;
            }
            set
            {
                this._joinDate = value;
            }
        }

        public bool JoinDateIsNull
        {
            get
            {
                return (this._joinDate == null);
            }
            set
            {
                if (value)
                {
                    this._joinDate = null;
                }
            }
        }

        public string LeaveType
        {
            get
            {
                return (string) this._leaveType;
            }
            set
            {
                this._leaveType = value;
            }
        }

        public bool LeaveTypeIsNull
        {
            get
            {
                return (this._leaveType == null);
            }
            set
            {
                if (value)
                {
                    this._leaveType = null;
                }
            }
        }

        public string Marry
        {
            get
            {
                return (string) this._marry;
            }
            set
            {
                this._marry = value;
            }
        }

        public bool MarryIsNull
        {
            get
            {
                return (this._marry == null);
            }
            set
            {
                if (value)
                {
                    this._marry = null;
                }
            }
        }

        public string Memo
        {
            get
            {
                return (string) this._memo;
            }
            set
            {
                this._memo = value;
            }
        }

        public bool MemoIsNull
        {
            get
            {
                return (this._memo == null);
            }
            set
            {
                if (value)
                {
                    this._memo = null;
                }
            }
        }

        public string Nation
        {
            get
            {
                return (string) this._nation;
            }
            set
            {
                this._nation = value;
            }
        }

        public bool NationIsNull
        {
            get
            {
                return (this._nation == null);
            }
            set
            {
                if (value)
                {
                    this._nation = null;
                }
            }
        }

        public string NativePlace
        {
            get
            {
                return (string) this._nativePlace;
            }
            set
            {
                this._nativePlace = value;
            }
        }

        public bool NativePlaceIsNull
        {
            get
            {
                return (this._nativePlace == null);
            }
            set
            {
                if (value)
                {
                    this._nativePlace = null;
                }
            }
        }

        public string Number
        {
            get
            {
                return (string) this._number;
            }
            set
            {
                this._number = value;
            }
        }

        public bool NumberIsNull
        {
            get
            {
                return (this._number == null);
            }
            set
            {
                if (value)
                {
                    this._number = null;
                }
            }
        }

        public byte[] Photo
        {
            get
            {
                return (byte[]) this._photo;
            }
            set
            {
                this._photo = value;
            }
        }

        public bool PhotoIsNull
        {
            get
            {
                return (this._photo == null);
            }
            set
            {
                if (value)
                {
                    this._photo = null;
                }
            }
        }

        public string Politics
        {
            get
            {
                return (string) this._politics;
            }
            set
            {
                this._politics = value;
            }
        }

        public bool PoliticsIsNull
        {
            get
            {
                return (this._politics == null);
            }
            set
            {
                if (value)
                {
                    this._politics = null;
                }
            }
        }

        public string Post
        {
            get
            {
                return (string) this._post;
            }
            set
            {
                this._post = value;
            }
        }

        public string PostChange
        {
            get
            {
                return (string) this._postChange;
            }
            set
            {
                this._postChange = value;
            }
        }

        public bool PostChangeIsNull
        {
            get
            {
                return (this._postChange == null);
            }
            set
            {
                if (value)
                {
                    this._postChange = null;
                }
            }
        }

        public bool PostIsNull
        {
            get
            {
                return (this._post == null);
            }
            set
            {
                if (value)
                {
                    this._post = null;
                }
            }
        }

        public string Resume
        {
            get
            {
                return (string) this._resume;
            }
            set
            {
                this._resume = value;
            }
        }

        public bool ResumeIsNull
        {
            get
            {
                return (this._resume == null);
            }
            set
            {
                if (value)
                {
                    this._resume = null;
                }
            }
        }

        public string Reward
        {
            get
            {
                return (string) this._reward;
            }
            set
            {
                this._reward = value;
            }
        }

        public bool RewardIsNull
        {
            get
            {
                return (this._reward == null);
            }
            set
            {
                if (value)
                {
                    this._reward = null;
                }
            }
        }

        public string School
        {
            get
            {
                return (string) this._school;
            }
            set
            {
                this._school = value;
            }
        }

        public bool SchoolIsNull
        {
            get
            {
                return (this._school == null);
            }
            set
            {
                if (value)
                {
                    this._school = null;
                }
            }
        }

        public bool Sex
        {
            get
            {
                return this._sex;
            }
            set
            {
                this._sex = value;
            }
        }

        public string Sociaty
        {
            get
            {
                return (string) this._sociaty;
            }
            set
            {
                this._sociaty = value;
            }
        }

        public bool SociatyIsNull
        {
            get
            {
                return (this._sociaty == null);
            }
            set
            {
                if (value)
                {
                    this._sociaty = null;
                }
            }
        }

        public string Speciallity
        {
            get
            {
                return (string) this._speciallity;
            }
            set
            {
                this._speciallity = value;
            }
        }

        public bool SpeciallityIsNull
        {
            get
            {
                return (this._speciallity == null);
            }
            set
            {
                if (value)
                {
                    this._speciallity = null;
                }
            }
        }

        public string Surety
        {
            get
            {
                return (string) this._surety;
            }
            set
            {
                this._surety = value;
            }
        }

        public bool SuretyIsNull
        {
            get
            {
                return (this._surety == null);
            }
            set
            {
                if (value)
                {
                    this._surety = null;
                }
            }
        }

        public string TechPost
        {
            get
            {
                return (string) this._techPost;
            }
            set
            {
                this._techPost = value;
            }
        }

        public bool TechPostIsNull
        {
            get
            {
                return (this._techPost == null);
            }
            set
            {
                if (value)
                {
                    this._techPost = null;
                }
            }
        }

        public string Train
        {
            get
            {
                return (string) this._train;
            }
            set
            {
                this._train = value;
            }
        }

        public bool TrainIsNull
        {
            get
            {
                return (this._train == null);
            }
            set
            {
                if (value)
                {
                    this._train = null;
                }
            }
        }

        public string UserId
        {
            get
            {
                return (string) this._userId;
            }
            set
            {
                this._userId = value;
            }
        }

        public bool UserIdIsNull
        {
            get
            {
                return (this._userId == null);
            }
            set
            {
                if (value)
                {
                    this._userId = null;
                }
            }
        }

        public string UserName
        {
            get
            {
                return this._userName;
            }
            set
            {
                this._userName = value;
            }
        }

        public DateTime WorkDate
        {
            get
            {
                return (DateTime) this._workDate;
            }
            set
            {
                this._workDate = value;
            }
        }

        public bool WorkDateIsNull
        {
            get
            {
                return (this._workDate == null);
            }
            set
            {
                if (value)
                {
                    this._workDate = null;
                }
            }
        }
    }
}

